<template>
        <div class="page">
            <span class="span-title">
                {{title}}
            </span>
            <slot></slot>
        </div>
</template>

<script>
export default {
  name: "loginpage",
  props: ["title"],
  data() {
    return {};
  }
};
</script>

<style scoped>
.page {
  flex: auto;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5rem solid #fb7d3f;
  box-sizing: border-box;
}
.page > .span-title {
  text-align: center;
  font-size: 1.5rem;
  line-height: 5rem;
}
</style>